Skip to content

Fix multipart S3 composite checksum suffix#9849

Open
SergioChan wants to merge 1 commit intogetmoto:masterfrom
SergioChan:fix-s3-multipart-composite-checksum-suffix-8762
Open

Fix multipart S3 composite checksum suffix#9849
SergioChan wants to merge 1 commit intogetmoto:masterfrom
SergioChan:fix-s3-multipart-composite-checksum-suffix-8762

Conversation

@SergioChan
Copy link
Contributor

Summary

  • append the multipart part-count suffix (-N) to computed multipart S3 checksums when ChecksumAlgorithm is used
  • add a multipart regression test that verifies Moto now returns the AWS-style composite checksum format for ChecksumSHA256
  • keep behavior scoped to multipart completion checksum generation only

Testing

  • python -m pytest tests/test_s3/test_s3_multipart.py -k "checksum_has_composite_suffix"

Related

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multipart S3 uploads - composite checksums are not given the -X suffix

1 participant